<div id="top_nav" class="center" style="padding-bottom:20px;">
  <div id="tt">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td valign="top"><img src="<!--{$smarty.const.APP_PATH}-->/images/logo.png" width="516" height="51" style="padding-left:32px; padding-top:23px;"/></td>
        <td width="180" valign="top"><a href="#;"><img src="<!--{$smarty.const.APP_PATH}-->/images/erweima1.png" width="151" height="29" style="padding-top:35px;" onmouseover="MM_showHideLayers('ereima','','show')" onmouseout="MM_showHideLayers('ereima','','hide')" /></a><br />
        <div id="ereima" style="position:absolute; visibility: hidden;"><div style="position:absolute; top:5px; left:-3px; width:150px; height:150px; z-index:9999;" id="ereima2"><img src="<!--{$smarty.const.APP_PATH}-->/images/erweima.png" width="150" height="150" /></div></div></td>
      </tr>
    </table>
  </div>
  <div class="break"></div>
  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><div class="f_l" id="nav">
        <script type="text/javascript">
            $(document).ready(function() {
                $("#lavalamp").append("<li id='lavalampbg'></li>");
                //$("#lavalampbg").position().left=$('.current').position().left;
                $("#lavalampbg").css({ 'left': $('.current').position().left, 'visibility': 'visible' });
                $("#lavalamp li a").hover(function() {
                    $(".current").css('color', '#999999');
                    $("#lavalampbg").stop().animate({ left: $(this).position().left })
                }, function() {
                    $("#lavalampbg").stop().animate({ left: $('.current').position().left }); $(".current").css('color', '#b6b6b6');
                });

            });
        </script>
        <ul class="navipages" id="lavalamp">
        <!--{php}-->
        if($_SERVER['REQUEST_URI']=='/?application=web&controller=index'||$_SERVER['REQUEST_URI']=='/'||$_SERVER['REQUEST_URI']==''){
            echo '<li style="color: rgb(182, 182, 182);" class="current">网站首页</li>';
        }
        else{
            echo '<li><a href="?application=web&controller=index">网站首页</a></li>';
        }
        <!--{/php}-->
        <!--{php}-->
        if($_SERVER['REQUEST_URI']=='/?application=web&controller=about'){
            echo '<li style="color: rgb(182, 182, 182);" class="current">了解色彩</li>';
        }
        else{
            echo '<li><a href="?application=web&controller=about">了解色彩</a></li>';
        }
        <!--{/php}-->
        <!--{php}-->
        //echo strpos($_SERVER['REQUEST_URI'],'/?application=web&controller=news');
        if(strpos($_SERVER['REQUEST_URI'],'/?application=web&controller=news')!==FALSE){
            echo '<li style="color: rgb(182, 182, 182);" class="current">最新活动</li>';
        }
        else{
            echo '<li><a href="?application=web&controller=news">最新活动</a></li>';
        }
        <!--{/php}-->
        <!--{php}-->
        if($_SERVER['REQUEST_URI']=='/?application=web&controller=album&method=classes'){
            echo '<li style="color: rgb(182, 182, 182);" class="current">作品展示</li>';
        }
        else{
        echo '<li><a href="?application=web&controller=album&method=classes" target="_blank">作品展示</a></li>';
        }
        <!--{/php}-->
        <!--{php}-->
        if($_SERVER['REQUEST_URI']=='/?application=web&controller=service'){
            echo '<li style="color: rgb(182, 182, 182);" class="current">服务方式</li>';
        }
        else{
            echo '<li><a href="?application=web&controller=service">服务方式</a></li>';
        }
        <!--{/php}-->
        <!--{php}-->
        if($_SERVER['REQUEST_URI']=='/?application=web&controller=price'){
            echo '<li style="color: rgb(182, 182, 182);" class="current">服务价格</li>';
        }
        else{
            echo '<li><a href="?application=web&controller=price">服务价格</a></li>';
        }
        <!--{/php}-->
        <!--{php}-->
        if($_SERVER['REQUEST_URI']=='/?application=web&controller=process'){
            echo '<li style="color: rgb(182, 182, 182);" class="current">拍摄流程</li>';
        }
        else{
            echo '<li><a href="?application=web&controller=process">拍摄流程</a></li>';
        }
        <!--{/php}-->
        <!--{php}-->
        if($_SERVER['REQUEST_URI']=='/?application=web&controller=contact'){
            echo '<li style="color: rgb(182, 182, 182);" class="current">联系色彩';
        }
        else{
            echo '<li><a href="?application=web&controller=contact">联系色彩</a>';
        }
        <!--{/php}-->
            <div class="clear"></div>
        </li>
          <li id="lavalampbg" style="left:500px; visibility: visible; "></li>
        </ul>
      </div></td>
      <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
        <tr>
          <td width="104"><a href="http://weibo.com/u/1566431664" target="_blank"><img src="<!--{$smarty.const.APP_PATH}-->/images/an1.png" alt="关注微博" width="95" height="48" /></a></td>
          <td width="104"><a href="http://bbs.runsky.com/forum-1463-1.html" target="_blank"><img src="<!--{$smarty.const.APP_PATH}-->/images/an2.png" alt="关注论坛" width="95" height="48" /></a></td>
          <td><a href="http://wpa.qq.com/msgrd?v=3&uin=526261331&site=qq&menu=yes" target="_blank"><img src="<!--{$smarty.const.APP_PATH}-->/images/an3.png" alt="QQ交谈" width="95" height="48" /></a></td>
        </tr>
      </table></td>
    </tr>
  </table>
</div>